The files contained in the PackIt file are the first two training programs from the book "How To Write Macintosh Software" written by Scott Knaster of Apple.
For those of you just starting to program on the Macintosh, I highly recommend this book. Scott has done an excellent job of making the Macintosh programming environment understandable.
Believe me when I say that programming an easy to use program for the Mac is much more complex than using the finished product.
The program 'ShowOff' is introduced in chapter 7 of the book, 'Real Live Debugging'. For those programming in LightSpeed Pascal 'debugging' is sort of an understatement, it can take hours just to get to the point of starting to debug along with the book.
The Pascal program 'ShowOff' is written in MPW Pascal, which differs from LightSpeed in several ways, the most obvious being that MPW accepts incompatible 'typing' on a single line of MPW Pascal code.
While this is nice for MPW Macintosh programmers, as the Mac environment forces mixing of types with regular frequency, it can be quite frustrating when MPW source is used with a 'classical' Pascal compiler, in as far as 'typing' is concerned. LightSpeed is such a complier.
For those of you who are just learning to program either the Macintosh or LightSpeed Pascal I offer these conversions to ease your learning curve.
The first program is 'ShowOff 7-1'. This is the first exercise in debugging a Mac program. This version is converted to LightSpeed, with all 'bugs' intact so you may happily go 'bug hunting'. Except as noted in the source code this version is the same as in the book, just converted to LightSpeed.
The second program is 'ShowOff 7-2' this is the debugged version and matches, with the conditions stated above, the book program 'Listing 7-2'